import Layout from "@/layout/Layout";

const sampleRouter = {
  path: "/sample",
  component: Layout,
  redirect: "noredirect",
  name: "采样管理",
  meta: {
    title: "采样管理",
    icon: "fa-eyedropper"
  },
  children: [
    {
      path: "sampleApplyManagement",
      component: () => import("@/views/sample/SampleApplyManagement"),
      name: "SampleApplyManagement",
      meta: { title: "采样管理", cache: true }
    },
    {
      path: "collageManagement",
      component: () => import("@/views/sample/CollageManagement"),
      name: "CollageManagement",
      meta: { title: "拼团管理", cache: true }
    },
    {
      path: "sampleNurseTask",
      component: () => import("@/views/sample/SampleNurseTask"),
      name: "SampleNurseTask",
      meta: { title: "采样任务管理", cache: true }
    },
    {
      path: "nuclePriceModelManagement",
      component: () => import("@/views/sample/NuclePriceModelManagement"),
      name: "NuclePriceModelManagement",
      meta: { title: "采样价格管理", cache: true }
    }
  ]
};

export default sampleRouter;
